package com.hospital.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeBo {
    @ExcelProperty(value = "姓名")
    private String name;
    @ExcelProperty(value = "性别")
    private Integer sex;
    @ExcelProperty(value = "手机号")
    private String phone;
    @ExcelProperty(value = "生日")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")//接收
    private Date birthday;
    @ExcelProperty(value = "创建时间")
    private Date create_time;
    @ExcelProperty(value = "等级ID")
    private Integer grade_id;
    @ExcelProperty(value = "职业ID")
    private Integer job_id;
    @ExcelProperty(value = "部门ID")
    private Integer dp_id;
    @ExcelProperty(value = "图片")
    private String pic;

}
